package com.visionet.eurekaclient.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @Author: pengjx
 * @Date: 2019-01-18 17:56
 * 客户信息
 */
@Entity
@Table(name = "consumer")
public class Consumer {

    @Column(name = "embed_order_id",nullable = false)
    private String embedOrderId;//该客户所属订单
    @Column(name = "name")
    private String name;//姓名
    @Column(name = "sex")
    private String sex;//性别
    @Column(name = "birth")
    private String birth;//出生日期
    @Column(name = "id_type")
    private IDType idType;//证件类型
    @Column(name = "id_no")
    private String id;//证件号码
    @Column(name = "tel")
    private String tel;//电话号码
    @Column(name = "addr")
    private String addr;//地址
    @Column(name = "desc")
    private String desc;//描述信息，例如：投保人，乘机人

}
